<script>
	import { wxLogin } from '@/common/api/login.js'
	import { appid, ali_appid } from '@/common/public_url.js'
	
	export default {
		onLaunch: function() {
			console.log('App Launch')
			// #ifdef APP-PLUS
			let showAgreeModel = plus.runtime.isAgreePrivacy()
			uni.setStorageSync('agreeModelShow', showAgreeModel)
			uni.setStorageSync('appid', appid)
			uni.setStorageSync('ali_appid', ali_appid)
			// #endif
			// #ifdef H5
			this.getOpenId()
			// uni.hideTabBar()
			// #endif
			// #ifdef MP-WEIXIN
			// wxLogin()
			// #endif
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>


<style lang="scss">
	/*每个页面公共css */
	@import "uview-ui/index.scss";
</style>